﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UI.Application.Share.Reactor
{
    /// <summary>
    /// 反应釜的指令集
    /// </summary>
    public interface IReactorCommandManager
    {
        /// <summary>
        /// 加热地址号
        /// </summary>
        ushort HeatAddress { get; set; }
        /// <summary>
        /// 制冷地址号
        /// </summary>
        ushort CoolAddress { get; set; }
        /// <summary>
        /// 获取加热指令
        /// </summary>
        /// <param name="v"></param>
        /// <returns></returns>
        byte[] GetHeatByte(ushort v);
        /// <summary>
        /// 获取制冷指令
        /// </summary>
        /// <param name="v"></param>
        /// <returns></returns>
        byte[] GetCoolByte(ushort v);
    }
}
